import request from '/@/utils/request';

/**
 * 商品分类API
 */
export default {
	addCategory: (data: object) => {return request({url: '/admin/goods/category/add', method: 'post', data})},

	listCategory: (data: object) => {return request({url: '/admin/goods/category/list', method: 'get', data})},
}
